#include"progress.h"

#define speed 1.0

void Download(double total)
{
    double current=0;
    while(current<=total)
    {
        Process(total,current);
        usleep(6000);
        current+=speed;
    }    
    printf("\ndownload %lfMB Done\n",total);
}
int main()
{
    //process();
    Download(1024.00);
    return 0;
}
